<template>
  <div class="bpl3-bg">
    <div class="co-title">
      <div class="co-title-name">
        <img src="@/assets/cockpit/bpl3-title.png" alt="">
      </div>
      <div class="co-title-right">
        <div class="co-title-breathe">
          <i></i><i></i><i></i><i></i><i></i><i></i>
        </div>
      </div>
    </div>
    <div class="bpl-container">
      <ul class="bpl3-main">
        <!-- <li class="bpl3-each bpl3-each1">
          <div class="bpl3-e-title">规划编制项目总览</div>
          <div class="bpl3-e-slide" v-if="infoData.guihuaPrj">
            <div class="bpl3-es">
              <div class="bpl3-es-row">
                <h6>项目总数</h6><p>{{ infoData.guihuaPrj.totalQuantity }}<span>个</span></p>
              </div>
              <div class="bpl3-es-row">
                <h6>预算金额</h6><p>{{ infoData.guihuaPrj.budgetMoney }}<span>万元</span></p>
              </div>
            </div>
            <div class="bpl3-es">
              <div class="bpl3-es-row">
                <h6>已采购</h6><p>{{ infoData.guihuaPrj.purchased }}<span>个</span></p>
              </div>
              <div class="bpl3-es-row">
                <h6>合同金额</h6><p>{{ infoData.guihuaPrj.contractMoney }}<span>万元</span></p>
              </div>
            </div>
          </div>
        </li> -->
        <!-- <li class="bpl3-each bpl3-each2">
          <div class="bpl3-e-title">规划编制项目状态</div>
          <div class="bpl3-e-column" v-if="infoData.guihuaGain">
            <div class="bpl3-ecol">
              <h6>项目立项</h6><p>{{ infoData.guihuaGain.ensembleQuantity }}<span>项</span></p>
            </div>
            <div class="bpl3-ecol">
              <h6>招标投标</h6><p>{{ infoData.guihuaGain.specialQuantity }}<span>项</span></p>
            </div>
            <div class="bpl3-ecol">
              <h6>项目建设</h6><p>{{ infoData.guihuaGain.controlQuantity }}<span>项</span></p>
            </div>
            <div class="bpl3-ecol">
              <h6>结题验收</h6><p>{{ infoData.guihuaGain.villageQuantity }}<span>项</span></p>
            </div>
            <div class="bpl3-ecol">
              <h6>项目入库</h6><p>{{ infoData.guihuaGain.villageQuantity }}<span>项</span></p>
            </div>
          </div>
        </li> -->
        <li class="bpl3-each bpl3-each1">
          <div class="bpl3-e-title">规划编制项目总览</div>
          <div class="bpl3-e-slide">
            <div class="bpl3-es">
              <div class="bpl3-es-row">
                <h6>项目总数</h6><p>144<span>个</span></p>
              </div>
            </div>
            <div class="bpl3-es">
              <div class="bpl3-es-row">
                <h6>预算金额</h6><p>8875<span>万元</span></p>
              </div>
            </div>
          </div>
        </li>
        <li class="bpl3-each bpl3-each2">
          <div class="bpl3-e-title">在编规划</div>
          <div class="bpl3-e-column">
            <div class="bpl3-ecol">
              <h6>总体规划</h6><p>4<span>项</span></p>
            </div>
            <div class="bpl3-ecol">
              <h6>专项规划</h6><p>5<span>项</span></p>
            </div>
            <div class="bpl3-ecol">
              <h6>详细规划</h6><p>10<span>项</span></p>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script lang="ts">
import { Vue, Component, Prop } from 'vue-property-decorator'

@Component({
  name: 'BplItem3',
  components: {
  }
})
export default class BplItem3 extends Vue {
  @Prop({default: {}}) infoData!: any
  mounted() {}
}
</script>
<style lang="scss" scoped>
@import '~@/styles/cockpit.scss';
.bpl3-bg {
  width: 100%;
  height: 100%;
  padding: 12px 100px 12px 16px;
  background: url('~@/assets/cockpit/bpl3-bg.png') no-repeat right center/ 99.3% 100%;
  position: relative;
  &::before {
    content: '';
    display: block;
    width: 20px;
    height: 103%;
    background: url('~@/assets/cockpit/bpl-bg-line.png') no-repeat 0/ 100% 100%;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(0, -50%);
  }
  .co-title {
    padding-right: 40px;
  }
}
.bpl3-main {
  width: 100%;
  .bpl3-each {
    &.bpl3-each1 {
      width: 100%;
      padding: 0 0 12px;
      border-bottom: 1px solid rgba(#fff, .1);
      margin: 0 0 12px;
    }
    .bpl3-e-title {
      width: 100%;
      padding: 0 0 0 6px;
      background: url('~@/assets/cockpit/bpl3-e-title-bg.png') no-repeat right center/ 99% 8px;
      font-size: 14px;
      line-height: 20px;
      color: #fff;
      position: relative;
      z-index: 1;
      &::before {
        content: '';
        width: 26px;
        height: 32px;
        background: url('~@/assets/cockpit/bpl3-e-title-left.png') no-repeat 0/ 100% 100%;
        position: absolute;
        left: -12px;
        top: -6px;
      }
    }
    .bpl3-e-slide {
      width: 100%;
      padding: 8px 0 0;
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      .bpl3-es {
        flex: none;
        width: 49%;
        padding: 0 0 0 4px;
        position: relative;
        &::before {
          content: '';
          width: 2px;
          height: 100%;
          background: #006AFF;
          position: absolute;
          left: 0;
          top: 0;
        }
        .bpl3-es-row {
          width: 100%;
          padding: 2px 8px;
          background: rgba(#fff, .05);
          display: flex;
          flex-flow: row nowrap;
          justify-content: space-between;
          margin: 2px 0 0 0;
          &:first-child {
            margin-top: 0;
          }
          >h6 {
            flex: none;
            font-size: 12px !important;
            line-height: 18px;
            color: #BFFEFF;
            text-align: left;
            font-weight: 400;
          }
          >p {
            flex: none;
            font-size: 15px !important;
            line-height: 20px;
            color: #fff;
            text-align: left;
            font-weight: 400;
            >span {
              font-size: 12px !important;
              color: #fff;
              margin: 0 0 0 2px;
            }
          }
        }
      }
    }
    .bpl3-e-column {
      width: 100%;
      padding: 8px 0 0;
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      .bpl3-ecol {
        padding: 0 16px 0 12px;
        position: relative;
        &::before {
          content: '';
          display: block;
          width: 4px;
          height: 4px;
          background: #F9F0D4;
          border-radius: 1px;
          box-shadow: 0 0 4px 1px #F0B04A;
          transform: rotate(45deg);
          position: absolute;
          top: 7px;
          left: 2px;
        }
        >h6 {
          font-size: 12px !important;
          line-height: 18px;
          color: #BFFEFF;
          text-align: left;
          font-weight: 400;
        }
        >p {
          font-size: 15px !important;
          line-height: 20px;
          color: #fff;
          text-align: left;
          font-weight: 400;
          >span {
            font-size: 12px !important;
            color: #fff;
            margin: 0 0 0 2px;
          }
        }
      }
    }
  }
}
</style>
